package com.imc.beans;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ImcPeoplePurivew entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "imc_people_purivew", catalog = "imcdbserver")
public class ImcPeoplePurivew implements java.io.Serializable {

	// Fields

	private ImcPeoplePurivewId id;

	// Constructors

	/** default constructor */
	public ImcPeoplePurivew() {
	}

	/** full constructor */
	public ImcPeoplePurivew(ImcPeoplePurivewId id) {
		this.id = id;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "uid", column = @Column(name = "UID")),
			@AttributeOverride(name = "organId", column = @Column(name = "ORGAN_ID")),
			@AttributeOverride(name = "purivewType", column = @Column(name = "purivew_type")) })
	public ImcPeoplePurivewId getId() {
		return this.id;
	}

	public void setId(ImcPeoplePurivewId id) {
		this.id = id;
	}

}